package com.jingdianjichi.auth.domain.convert;

import com.jingdianjichi.auth.domain.entity.AuthPermissionBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限转换器
 *
 * @author: ChickenWing
 * @date: 2023/10/8
 */
@Mapper
public interface AuthPermissionConverter {

    AuthPermissionConverter INSTANCE = Mappers.getMapper(AuthPermissionConverter.class);

    AuthPermission convertBOtoEntity(AuthPermissionBO permissionBO);

}
